package com.huangpuweb.api.model;

import com.sun.rowset.internal.Row;
import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class HpBasSyrkJzdzRowMapper implements RowMapper<HpBasSyrkJzdz> {
    @Override
    public HpBasSyrkJzdz mapRow(ResultSet resultSet, int i) throws SQLException {
        HpBasSyrkJzdz hb=new HpBasSyrkJzdz();
        hb.setLng(resultSet.getString("lng"));
        hb.setLat(resultSet.getString("lat"));
        return hb;
    }
}
